package com.coderman.common.model.payMent;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

/**
 * MyBatis Generator工具自动生成2023/01/10
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("")
@Table(name = "`c_payment`")
public class PayMent {
    @Id
    @Column(name = "`paymentId`")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty("")
    private Integer paymentid;

    @Column(name = "`studentId`")
    @ApiModelProperty("")
    private Integer studentid;

    @Column(name = "`pmTypeId`")
    @ApiModelProperty("")
    private Integer pmtypeid;

    @Column(name = "`paymentMoney`")
    @ApiModelProperty("")
    private Double paymentmoney;

    @Column(name = "`paymentTime`")
    @ApiModelProperty("")
    private String paymenttime;

    /**
     * 0：代表是
            1：代表否
     */
    @Column(name = "`isPeriodization`")
    @ApiModelProperty("0：代表是            1：代表否")
    private Integer isperiodization;

    /**
     * 1：代表微信转账
            2：代表支付宝转账
            3：代表银行卡转账
            4：代表现金支付
     */
    @Column(name = "`paymentMode`")
    @ApiModelProperty("1：代表微信转账            2：代表支付宝转账            3：代表银行卡转账            4：代表现金支付")
    private Integer paymentmode;

    @Column(name = "`preparedBy`")
    @ApiModelProperty("")
    private String preparedby;

    @Column(name = "`remarks`")
    @ApiModelProperty("")
    private String remarks;

    private transient  String studentname;
}
